package kr.co.dayve.site.management.dao;

import kr.co.dayve.site.domain.Category;
import kr.co.dayve.site.domain.Item;
import kr.co.dayve.site.domain.Member;


import java.util.List;

public interface MemberDao {
    public abstract List getMemberListBySearchword(Member member);
    public abstract String getTotalMemberCountBySearchword(Member member);

    public abstract Member getMemberById(String id);
    public abstract Member getMemberByEmail(String id);
    public abstract Member getMemberByIdEmail(Member member);

    public abstract String getMemberExistById(String id);
    public abstract String getMemberExistByEmail(String email);
    public abstract String getMemberExistByIdEmail(Member member);

	public abstract String logIn(Member member);
    public abstract String deleteMemberById(String id);
    public abstract String updateMemberById(Member member);
    public abstract String adminUpdateMemberById(Member member);
    public abstract String updateMemberPasswordById(Member member);
    public abstract String insertMember(Member member);

    public abstract List getCategoryMemberListByCategoryName(Category category);
    public abstract List getItemMemberListByItemName(Item item);
}
